projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568f1ff
)
gdk: Add deprecation guards around deprecated function
author
Benjamin Otte
<otte@redhat.com>
Wed, 26 Oct 2016 22:06:36 +0000
(
00:06
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 27 Oct 2016 03:03:06 +0000
(
05:03
+0200)
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index 5bc9438afad530252e66b55b3e45c65f59a3d03e..242b26204a28be813081ddba2b5c4485584d2c64 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-5048,7
+5048,11
@@
gdk_window_hide (GdkWindow *window)
_gdk_display_get_next_serial (display),
window,
TRUE))
- gdk_device_ungrab (device, GDK_CURRENT_TIME);
+ {
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+ gdk_device_ungrab (device, GDK_CURRENT_TIME);
+G_GNUC_END_IGNORE_DEPRECATIONS
+ }
}
window->state = GDK_WINDOW_STATE_WITHDRAWN;